﻿capital = 275
2000.1.1 = {
	set_variable = { currency_strength = 0.7 }
	complete_special_project = sp:sp_composite_production
	complete_special_project = sp:sp_space_program
	set_cosmetic_tag = SAF
	set_country_flag = antarctica_ccas_member
	set_country_flag = antarctica_ccamlr_member
	set_country_flag = dynamic_flag
	set_country_flag = dynamic_rebel_flag
	set_country_flag = dynamic_flag_edgy
	set_country_flag = is_getting_cdf_subsidies
	add_to_array = { global.uncdf_recipients = THIS }
	add_dynamic_modifier = { modifier = un_aid_subsidies_modifier }
	set_variable = { gdp_per_capita = 10.599 }

	complete_special_project = sp:sp_armoured_vehicle_project
	if = {
		limit = { has_dlc = "No Step Back" }

		set_oob = "SAF_2000_nsb"
		set_technology = {
			mbt_tech_ops = 1
			mbt_tech = 1
			tank_ammo_1 = 1
			defensive_systems = 1
			nsb_gun_technology_1 = 1
			nsb_artillery_ammo_1 = 1
			nsb_special_ammo_0 = 1
			nsb_AA_autocannon_0 = 1
			nsb_SHORAD_missile_0 = 1
			mbt_tech_1 = 1
			mbt_tech_2 = 1
			tank_ammo_2 = 1
			defensive_systems_2 = 1
			nsb_gun_technology_2 = 1
			nsb_artillery_ammo_2 = 1
			tank_components_tech = 1
			tank_components_tech_2 = 1
			tank_components_tech_3 = 1
			small_medium_gun_tech = 1
			small_medium_gun_tech_2 = 1
			medium_gun_tech = 1
			armor_tech = 1
			armor_tech_2 = 1
			era_tech = 1
			diesel_engine_tech = 1
			diesel_engine_tech_2 = 1
			diesel_engine_tech_3 = 1
			diesel_engine_tech_4 = 1
			small_autocannon_tech = 1
			small_autocannon_tech_2 = 1
			nsb_artillery_0 = 1
			nsb_Arty_upgrade_1 = 1
			nsb_artillery_1 = 1 #G5
			nsb_Anti_Air_0 = 1
		 #Rooikat 76
			helo_ops_tech = 1
			nsb_attack_helicopter_tech_1 = 1
			nsb_engine_tech_1 = 1
			nsb_atgm_tech_1 = 1
			nsb_multiple_atgm_tech_1 = 1
			nsb_heavy_atgm_tech_1 = 1
			nsb_rocket_pods_tech_1 = 1
			nsb_gun_pods_tech_1 = 1
			nsb_light_nose_gun_tech_1 = 1
			nsb_defense_tech_1 = 1
			nsb_attack_helicopter_tech_2 = 1
			nsb_engine_tech_2 = 1
			nsb_atgm_tech_2 = 1
			nsb_multiple_atgm_tech_2 = 1
			nsb_heavy_atgm_tech_2 = 1
			nsb_rocket_pods_tech_2 = 1
			nsb_gun_pods_tech_2 = 1
			nsb_light_nose_gun_tech_2 = 1
			nsb_transport_helicopter_2 = 1
			nsb_transport_helicopter_1 = 1
		}
		create_equipment_variant = {
			name = "Olifant Mark 1A"
			type = medium_tank_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_medium_cannon_2
				ammunition_load_slot = mixed_main_ammo_2
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen2
				reload_type_slot = manual_loading
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers
				special_type_slot_4 = tank_battlestation_2
			}
			upgrades = {
				tank_nsb_armor_upgrade = 6
			}
			obsolete = yes
		}
		add_equipment_to_stockpile = {
			type = medium_tank_chassis_0
			variant_name = "Olifant Mark 1A"
			amount = 180
			producer = SAF
		}
		create_equipment_variant = {
			name = "Olifant Mark 1B"
			type = medium_tank_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_medium_cannon_2
				ammunition_load_slot = mixed_main_ammo_2
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen2
				reload_type_slot = manual_loading
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers
				special_type_slot_4 = tank_battlestation_2
			}
			upgrades = {
				tank_nsb_armor_upgrade = 6
			}
			obsolete = yes
			icon = "gfx/interface/technologies/SAF/LAND/MBT1_Olifant_1B.dds"
		}
		add_equipment_to_stockpile = {
			type = medium_tank_chassis_0
			variant_name = "Olifant Mark 1B"
			amount = 44
			producer = SAF
		}
		create_equipment_variant = {
			name = "Ratel-20"
			type = medium_tank_flame_chassis_1
			parent_version = 0
			modules = {
				main_armament_slot = small_autocannon_2
				reload_type_slot = automatic_loading
				ammunition_load_slot = mixed_autocannon_ammo_1
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen1
				engine_type_slot = tank_diesel_engine_gen2
				special_type_slot_1 = empty
				special_type_slot_3 = afv_troop_capacity
				special_type_slot_4 = tank_battlestation_1
			}
			upgrades = {
				tank_nsb_armor_upgrade = 3
			}
			obsolete = yes
		}
		add_equipment_to_stockpile = {
			type = medium_tank_flame_chassis_1
			variant_name = "Ratel-20"
			amount = 620
			producer = SAF
		}
		create_equipment_variant = {
			name = "G6"
			type = medium_tank_artillery_chassis_1
			parent_version = 0
			modules = {
				main_armament_slot = art_med_gun_gen2
				reload_type_slot = automatic_loading
				ammunition_load_slot = artillery_medium_ammo_2
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_wheeled_suspension_medium
				engine_type_slot = afv_gasoline_engine_gen3
				special_type_slot_1 = empty
				special_type_slot_2 = empty
				special_type_slot_4 = tank_battlestation_2
			}
			upgrades = {
				tank_nsb_fire_upgrade = 1
			}
			obsolete = yes
		}
		add_equipment_to_stockpile = {
			type = medium_tank_artillery_chassis_1
			variant_name = "G6"
			amount = 43
			producer = SAF
		}
		create_equipment_variant = {
			name = "Denel Bateleur"
			type = medium_tank_rocket_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = art_med_rocket_gen1
				turret_type_slot = tank_base_tank_turret
				reload_type_slot = eight_missile_pack
				ammunition_load_slot = artillery_medium_ammo_1
				suspension_type_slot = tank_wheeled_suspension_medium
				engine_type_slot = afv_gasoline_engine_gen2
				special_type_slot_1 = fire_ammo_1
				special_type_slot_4 = tank_battlestation_1
			}
			upgrades = {
				tank_nsb_fire_upgrade = 1
			}
			obsolete = yes
		}
		add_equipment_to_stockpile = {
			type = medium_tank_rocket_chassis_0
			variant_name = "Denel Bateleur"
			amount = 25
			producer = SAF
		}
		create_equipment_variant = {
			name = "Ratel 90"
			type = medium_tank_flame_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_cannon
				ammunition_load_slot = mixed_main_ammo_1
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_wheeled_suspension_medium
				engine_type_slot = tank_diesel_engine_gen2
				armor_type_slot = afv_alum_armor_gen1
				reload_type_slot = manual_loading
				secondary_armament_slot = empty
				special_type_slot_1 = afv_troop_capacity
				special_type_slot_2 = smoke_launchers
				special_type_slot_3 = afv_gun_ports
				special_type_slot_4 = tank_battlestation_1
			}
			upgrades = {
				tank_nsb_armor_upgrade = 0
			}
			obsolete = yes
			icon = "gfx/interface/technologies/SAF/LAND/REC1_Ratel_90.dds"
		}
		create_equipment_variant = {
			name = "Eland Mk7"
			type = medium_tank_destroyer_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_cannon
				ammunition_load_slot = mixed_main_ammo_1
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_wheeled_suspension_medium
				engine_type_slot = tank_diesel_engine_gen2
				armor_type_slot = afv_alum_armor_gen1
				reload_type_slot = manual_loading
				secondary_armament_slot = empty
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers
				special_type_slot_3 = tank_longer_gun
				special_type_slot_4 = tank_battlestation_1
			}
			upgrades = {
				tank_nsb_armor_upgrade = 0
			}
			obsolete = yes
		}
		create_equipment_variant = {
			name = "Rooikat"
			type = medium_tank_destroyer_chassis_2
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_cannon_2
				ammunition_load_slot = mixed_main_ammo_1
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_wheeled_suspension_medium
				engine_type_slot = tank_diesel_engine_gen4
				armor_type_slot = afv_composite_armor_gen2
				reload_type_slot = manual_loading
				secondary_armament_slot = empty
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers_2
				special_type_slot_3 = empty
				special_type_slot_4 = tank_battlestation_3
			}
			upgrades = {
				tank_nsb_armor_upgrade = 4
			}
		}
		create_equipment_variant = {
			name = "Rooivalk"
			type = heavy_tank_chassis_1
			parent_version = 0
			modules = {
				chassis_type_slot = helicopter_medium_chassis
				helicopter_body_layout = gunship_layout
				helicopter_body_mount_1 = helicopter_multiple_atgm_gen2
				nose_gun_type_slot = helicopter_medium_nose_gun_gen2
				armor_type_slot = helicopter_armor_gen1
				engine_type_slot = helicopter_turbine_engine_gen2
				defence_type_slot = flare_launchers
				sensor_and_avionics_slot = sensors_and_avionics_gen_2
				helicopter_body_mount_2 = helicopter_rocket_pod_gen2
				defence_type_slot_2 = em_lock_detection_system_gen1
			}
			upgrades = {
				helicopter_nsb_upgrade = 3
			}
			icon = "gfx/interface/technologies/SAF/AIR/AH1.dds"
		}
		create_equipment_variant = {
			name = "Buffel"
			type = util_vehicle_3
			obsolete = yes
			icon = "gfx/interface/technologies/SAF/LAND/Buffel.dds"
		}
		create_equipment_variant = {
			name = "Olifant-1"
			type = medium_tank_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_medium_cannon_2
				ammunition_load_slot = mixed_main_ammo_2
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen2
				reload_type_slot = manual_loading
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers
				special_type_slot_4 = tank_battlestation_2
			}
			upgrades = {
				tank_nsb_armor_upgrade = 6
			}
			obsolete = yes
			icon = "GFX_ENG_MBT_1"
		}
		else = {
			set_oob = "SAF_2000_nonnsb"
			set_technology = {
				MBT_1 = 1
				MBT_2 = 1
				Early_APC = 1 #Vehicle Design
				APC_1 = 1
				APC_2 = 1
				APC_3 = 1
				APC_4 = 1	#Matador
				IFV_1 = 1
				IFV_2 = 1
				IFV_3 = 1
				IFV_4 = 1
				tech_arty_0 = 1
				Arty_upgrade_1 = 1
				tech_arty_1 = 1 #G5
				SP_arty_0 = 1
				SP_arty_1 = 1
				SP_R_arty_0 = 1
				SP_R_arty_1 = 1	#Valkiri Mk1
				Anti_Air_0 = 1
				SP_Anti_Air_0 = 1
				Rec_tank_0 = 1
				Rec_tank_1 = 1
				Rec_tank_2 = 1
				attack_helicopter_1 = 1
				attack_helicopter_2 = 1		#Rooivalk
				transport_helicopter_2 = 1
				transport_helicopter_1 = 1
			}
		}
	}
	complete_special_project = sp:sp_awacs_project
	if = {
		limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "SAF_2000_bba"
		set_technology = {
			early_airframe_designs = 1
			gen_3_light = 1
			gen_4_light = 1
			gen_3_medium = 1
			flying_wing_design = 1
			variable_wing_design = 1
			delta_wing_design = 1
			engines_2 = 1
			refueling_1 = 1
			avionics_1 = 1
			awacs_1 = 1
			redundant_1 = 1
			early_weapons = 1
			air_weapons_1 = 1
			air_weapons_2 = 1
			countermeasures_1 = 1
			countermeasures_2 = 1
			ag_weapons_1 = 1
			ag_weapons_2 = 1
			tgp_recon_1 = 1
		}
		create_equipment_variant = { #Light Fighter
			name = "Cheetah"
			type = small_plane_airframe_1
			parent_version = 1
			modules = {
				fixed_main_weapon_slot = weap_a2a_hardpoint_1
				fixed_gun_slot = weap_multi_gun_3
				engine_type_slot = engine_light_double_2
				avionics_type_slot = avionics_manned_2
				wingform_type_slot = wing_delta
				special_slot_type_1 = spec_countermeasures_2
			}
		}
		create_equipment_variant = {
			name = "Impala"
			type = small_plane_strike_airframe_1
			parent_version = 0
			modules = {
				fixed_main_weapon_slot = weap_mp_med_hardpoint_2
				fixed_gun_slot = weap_multi_gun_1
				engine_type_slot = engine_light_single_1
				avionics_type_slot = avionics_manned_1
				wingform_type_slot = wing_straight
				special_slot_type_1 = spec_countermeasures_1
			}
			obsolete = yes
		}
		else = {
			set_air_oob = "SAF_2000_nonbba"
			set_technology = {
				L_Strike_fighter1 = 1
				L_Strike_fighter2 = 1 #AHRLAC
				MR_Fighter1 = 1 #Atlas Cheetah
				Air_UAV1 = 1 #Seeker 400 UAS
				early_fighter = 1
			}
		}
	}
	set_naval_oob = "SAF_2000_naval_mtg"

	add_ideas = {
		wto_member
		partially_privatized_healthcare
		economic_motivated_mining
		standard_maintenance
		us_dollar
		strong_regulations

		corruption_level_06
		christian
		OAU_member
		stagnation
		defence_01
		edu_03
		health_03
		social_03
		bureau_03
		police_02
		export_economy
		volunteer_army
		volunteer_women
		intervention_limited_interventionism
		USA_usaid
		industrial_conglomerates
		landowners
		small_medium_business_owners
		nuclear_energy
		multi_ethnic_state_idea
		officer_advanced_training
		rising_level_of_aids
		at_member
		un_aid_esco_member

		un_aid_ido_member
		un_aid_cdf_member

		antarctica_small_treaty_admin_cost_2
		no_currency_backing
	}
	add_dynamic_modifier = { modifier = Commonwealth_member_modifier }
	add_to_array = { global.commonwealth_member = THIS }
	add_to_array = { global.un_aid_esco_contributor = THIS }
	add_to_array = { global.un_aid_ido_contributor = THIS }
	add_to_array = { global.un_aid_cdf_contributor = THIS }

	# Starting tech
	set_technology = {
		integrated_transportation_system = 1
		post_conventional_rail = 1
		early_freight_locomotive = 1


		superior_firepower = 1

		infantry_weapons_1 = 1
		infantry_weapons_2 = 1
		infantry_weapons_3 = 1
		infantry_weapons_4 = 1 #Vektor CR-21
		support_weapons = 1
		support_weapons2 = 1
		tandem_charge_warheads = 1
		squad_automatic_weapon = 1
		special_forces_tech_1 = 1

		combat_eng_equipment = 1

		night_vision_1 = 1
		night_vision_2 = 1
		night_vision_3 = 1 #1985

		cnc_equipment_1 = 1
		cnc_equipment_2 = 1
		cnc_equipment_3 = 1

		land_drone_equipment_type = 1

		Anti_tank_0 = 1
		Heavy_Anti_tank_0 = 1
		AT_upgrade_1 = 1
		Anti_tank_1 = 1
		Heavy_Anti_tank_1 = 1

		util_vehicle_1 = 1
		util_vehicle_2 = 1
		util_vehicle_3 = 1
		util_vehicle_4 = 1


		body_armor_1 = 1
		camouflage_1 = 1
		camouflage_2 = 1

		basic_computing = 1
		integrated_circuit = 1
		computing1 = 1
		decryption1 = 1
		encryption1 = 1

		radar = 1
		internet1 = 1
		internet2 = 1
		fuel_silos = 1

		nanofibers_1 = 1
		nanofibers_2 = 1
		printing_1 = 1
		printing_2 = 1
		genetics_1 = 1
		fuel_refining = 1
		fuel_refining2 = 1
		energy_efficiency = 1
		energy_efficiency2 = 1
		fuel_efficiency = 1
		early_renewables = 1
		renewables = 1
		electrification_1 = 1
		construction1 = 1
		stronghold_building_1 = 1
		land_fort_building_1 = 1
		construction2 = 1
	}
	complete_special_project = sp:sp_missile_project
	if = { limit = { has_dlc = "Gotterdammerung" }
		set_technology = {
			air_defense = 1
			SAM = 1
			SAM0 = 1
		}
	}

	complete_special_project = sp:sp_aircraft_project
	complete_special_project = sp:sp_helicopter_project
	complete_special_project = sp:sp_medium_naval_nuclear_engines
	complete_special_project = sp:sp_naval_vessel_project

	set_technology = {
			corvette_hull_1 = 1
			corvette_hull_2 = 1

			frigate_hull_1 = 1

			destroyer_hull_1 = 1
			destroyer_hull_2 = 1

			cruiser_hull_1 = 1

			attack_submarine_hull_1 = 1
			attack_submarine_hull_2 = 1

			missile_submarine_hull_1 = 1

			aircraft_carrier_engineering = 1
			aircraft_heli_engineering_1 = 1

			tech_submarine_engineering_1 = 1

			tech_naval_systems_engineering = 1
			tech_power_systems_1 = 1
			tech_power_systems_2 = 1
			tech_power_systems_3 = 1
			tech_nuclear_power_systems_1 = 1
			tech_nuclear_power_systems_2 = 1

			tech_combat_support_systems = 1
			tech_fire_control_1 = 1
			tech_fire_control_2 = 1
			tech_combat_radar_1 = 1
			tech_combat_radar_2 = 1
			tech_combat_radar_3 = 1
			tech_combat_sonar_1 = 1
			tech_combat_sonar_2 = 1
			tech_combat_sonar_3 = 1

			tech_early_naval_weapon_systems = 1
			tech_naval_weapon_systems = 1
			tech_light_guns_1 = 1
			tech_light_guns_2 = 1

			tech_point_defense_chain_gun = 1
			tech_point_defense_system_1 = 1
			tech_point_defense_system_2 = 1

			tech_turret_missiles_surface_1 = 1
			tech_turret_missiles_surface_2 = 1

			tech_turret_missiles_aa_1 = 1
			tech_turret_missiles_aa_2 = 1

			tech_vls_surface_1 = 1

			tech_vls_aa_1 = 1

			tech_torpedoes_1 = 1
			tech_torpedoes_2 = 1

			tech_landing_craft_1 = 1
		}

		create_equipment_variant = {
			name = "Warrior Class"
			type = corvette_hull_1
			#name_group = SAF_DD_HISTORICAL
			parent_version = 0
			modules = {
				fixed_ship_engine_slot = module_light_surface_jet_turbine_power
				fixed_ship_fire_control_system_slot = module_analog_fire_control
				fixed_ship_radar_slot = module_radar_2
				fixed_ship_auxillary_slot = module_naval_missile_mount_quad
				fixed_ship_battery_slot = module_76mm_gun_1
				front_1_custom_slot = module_ciws_2
				rear_1_custom_slot = empty
				fixed_ship_missile_ammo_slot = module_naval_ammo_anti_ship_2
			}
			icon = "gfx/interface/technologies/ISR/NAV/CRV2.dds"
		}


	set_variable = { industrial_conglomerates_opinion = 60 }
	set_variable = { landowners_opinion = 60 }
	set_variable = { small_medium_business_owners = 75 }

	#Investment targets
	add_to_array = { SAF.investment_targets = LES }
	add_to_array = { SAF.investment_targets = SWA }
	add_to_array = { SAF.investment_targets = NAM }
	add_to_array = { SAF.investment_targets = ZIM }
	add_to_array = { SAF.investment_targets = ZAM }
	add_to_array = { SAF.investment_targets = MOZ }


	#Botswana added through Botswanan focus tree

	#Influence system
	add_to_array = { SAF.influence_targets = NAM }
	add_to_array = { SAF.influence_targets = BOT }
	add_to_array = { SAF.influence_targets = ZIM }
	add_to_array = { SAF.influence_targets = MOZ }
	add_to_array = { SAF.influence_targets = MAD }
	add_to_array = { SAF.influence_targets = ZAM }
	add_to_array = { SAF.influence_targets = MLW }
	add_to_array = { SAF.influence_targets = ZAM }
	add_to_array = { SAF.influence_targets = LES }
	add_to_array = { SAF.influence_targets = SWA }
	add_to_array = { SAF.influence_targets = AGL }

	init_influence = yes
	set_variable = { domestic_influence_amount = 270 }
	add_to_array = { influence_array = ENG.id }
	add_to_array = { influence_array_val = 50 }
	add_to_array = { influence_array = USA.id }
	add_to_array = { influence_array_val = 20 }
	add_to_array = { influence_array = CAN.id }
	add_to_array = { influence_array_val = 5 }
	add_to_array = { influence_array = CHI.id }
	add_to_array = { influence_array_val = 40 }
	add_to_array = { influence_array = SOV.id }
	add_to_array = { influence_array_val = 5 }
	add_to_array = { influence_array = SAU.id }
	add_to_array = { influence_array_val = 5 }
	sort_influence = yes

	### Economy
	set_variable = { var = debt value = 172 }
	set_variable = { var = treasury value = 11 }
	set_variable = { var = corporate_tax_rate value = 27 }
	set_variable = { var = population_tax_rate value = 21 }
	set_variable = { var = int_investments value = 8 }
	set_variable = { inflation_rate_var = 0.05182 }
	set_variable = { cb_policy_rate = 12 }

	set_popularities = {
		democratic = 23.7
		communism = 66.3
		fascism = 0.0
		neutrality = 10.0
		nationalist = 0.0
	}
	set_politics = {
		ruling_party = communism
		last_election = "1999.6.2"
		election_frequency = 60
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^1 = 0.069 } #conservatism
	set_variable = { party_pop_array^2 = 0.108 } #liberalism
	set_variable = { party_pop_array^3 = 0.06 } #socialism
	set_variable = { party_pop_array^5 = 0.663 } #anarchist_communism
	set_variable = { party_pop_array^14 = 0.1 } #Neutral_conservatism

	### Ruling Party
	set_variable = { ruling_party = 5 }

	startup_politics = yes

	create_country_leader = {
		name = "Thabo Mbeki"
		picture = "thabo_mbeki.dds"
		ideology = anarchist_communism
		traits = {
			emerging_anarchist_communism
		}
	}
	set_variable = { term_limit = 2 }
	set_variable = { current_term = 1 }

	recruit_character = SAF_david_jamieson
	recruit_character = SAF_samuel_hlongwane
	recruit_character = SAF_carlo_gagiano
	recruit_character = SAF_willis_nkosi
	recruit_character = SAF_solly_shoke
	recruit_character = SAF_fabian_msimang
	recruit_character = SAF_hanno_teuteberg
	recruit_character = SAF_jabu_mbuli


	set_variable = { literacy_rate = 0.847 }

	set_variable = { overall_productivity = 591 }
	set_variable = { var_reactor_material_stockpile = 2500 }

	if = {
		limit = {
			has_dlc = "La Resistance"
		}
		create_intelligence_agency = {
			name = "State Security Agency (SSA)"
			icon = GFX_intelligence_agency_logo_saf
		}
		set_country_flag = MD_skip_treasury_cost
		upgrade_intelligence_agency = upgrade_form_department
		upgrade_intelligence_agency = upgrade_establish_cyber_operations_division
		clr_country_flag = MD_skip_treasury_cost
	}


	# Relation Starting Configuration (moved from on_startup)
	add_opinion_modifier = { target = CUB modifier = sanctions }
	add_relation_modifier = { target = USA modifier = USA_World_Economical_Relations }
	add_relation_modifier = { target = SOV modifier = SOV_World_Economical_Relations }
	add_relation_modifier = { target = CHI modifier = CHI_World_Economical_Relations }
	add_relation_modifier = { target = FRA modifier = FRA_World_Economical_Relations }
	add_relation_modifier = { target = GER modifier = GER_World_Economical_Relations }
	add_relation_modifier = { target = ENG modifier = ENG_World_Economical_Relations }
	add_relation_modifier = { target = SPR modifier = SPR_World_Economical_Relations }
	add_relation_modifier = { target = ITA modifier = ITA_World_Economical_Relations }
	add_relation_modifier = { target = UKR modifier = UKR_world_economical_relations }
	add_relation_modifier = { target = ISR modifier = ISR_World_Economical_Relations }
	add_opinion_modifier = { target = TTP modifier = AlQaida_Are_Terrorists }
	add_opinion_modifier = { target = TTP modifier = AlQaida_Are_Terrorists_Trade }
	add_opinion_modifier = { target = TAL modifier = Taliban_Are_Terrorists }
	add_opinion_modifier = { target = TAL modifier = Taliban_Are_Terrorists_Trade }
	add_opinion_modifier = { target = GAH modifier = African_Union_Relations }
	add_opinion_modifier = { target = SIE modifier = African_Union_Relations }
	add_opinion_modifier = { target = MOR modifier = African_Union_Relations }
	add_opinion_modifier = { target = ALG modifier = African_Union_Relations }
	add_opinion_modifier = { target = TUN modifier = African_Union_Relations }
	add_opinion_modifier = { target = MAU modifier = African_Union_Relations }
	add_opinion_modifier = { target = MAL modifier = African_Union_Relations }
	add_opinion_modifier = { target = SEN modifier = African_Union_Relations }
	add_opinion_modifier = { target = GAM modifier = African_Union_Relations }
	add_opinion_modifier = { target = GUB modifier = African_Union_Relations }
	add_opinion_modifier = { target = GUI modifier = African_Union_Relations }
	add_opinion_modifier = { target = CDI modifier = African_Union_Relations }
	add_opinion_modifier = { target = BFA modifier = African_Union_Relations }
	add_opinion_modifier = { target = BEN modifier = African_Union_Relations }
	add_opinion_modifier = { target = TOG modifier = African_Union_Relations }
	add_opinion_modifier = { target = NIG modifier = African_Union_Relations }
	add_opinion_modifier = { target = NGR modifier = African_Union_Relations }
	add_opinion_modifier = { target = CAM modifier = African_Union_Relations }
	add_opinion_modifier = { target = CAR modifier = African_Union_Relations }
	add_opinion_modifier = { target = CHA modifier = African_Union_Relations }
	add_opinion_modifier = { target = SUD modifier = African_Union_Relations }
	add_opinion_modifier = { target = SSU modifier = African_Union_Relations }
	add_opinion_modifier = { target = ERI modifier = African_Union_Relations }
	add_opinion_modifier = { target = DJI modifier = African_Union_Relations }
	add_opinion_modifier = { target = SOM modifier = African_Union_Relations }
	add_opinion_modifier = { target = EGU modifier = African_Union_Relations }
	add_opinion_modifier = { target = SAO modifier = African_Union_Relations }
	add_opinion_modifier = { target = KEN modifier = African_Union_Relations }
	add_opinion_modifier = { target = UGA modifier = African_Union_Relations }
	add_opinion_modifier = { target = TNZ modifier = African_Union_Relations }
	add_opinion_modifier = { target = GAB modifier = African_Union_Relations }
	add_opinion_modifier = { target = CNG modifier = African_Union_Relations }
	add_opinion_modifier = { target = RWA modifier = African_Union_Relations }
	add_opinion_modifier = { target = BUR modifier = African_Union_Relations }
	add_opinion_modifier = { target = DRC modifier = African_Union_Relations }
	add_opinion_modifier = { target = AGL modifier = African_Union_Relations }
	add_opinion_modifier = { target = ZAM modifier = African_Union_Relations }
	add_opinion_modifier = { target = MLW modifier = African_Union_Relations }
	add_opinion_modifier = { target = MOZ modifier = African_Union_Relations }
	add_opinion_modifier = { target = ZIM modifier = African_Union_Relations }
	add_opinion_modifier = { target = BOT modifier = African_Union_Relations }
	add_opinion_modifier = { target = SWA modifier = African_Union_Relations }
	add_opinion_modifier = { target = LES modifier = African_Union_Relations }
	add_opinion_modifier = { target = SML modifier = African_Union_Relations }
	add_opinion_modifier = { target = MAD modifier = African_Union_Relations }
	add_opinion_modifier = { target = COM modifier = African_Union_Relations }
	add_opinion_modifier = { target = MRT modifier = African_Union_Relations }
	add_opinion_modifier = { target = SEY modifier = African_Union_Relations }
	add_opinion_modifier = { target = STH modifier = African_Union_Relations }
	add_opinion_modifier = { target = VER modifier = African_Union_Relations }
	add_opinion_modifier = { target = CNR modifier = African_Union_Relations }
	add_opinion_modifier = { target = NAM modifier = African_Union_Relations }
	add_opinion_modifier = { target = SHA modifier = African_Union_Relations }
	add_opinion_modifier = { target = ETH modifier = African_Union_Relations }
	add_opinion_modifier = { target = SAF modifier = African_Union_Relations }
	add_opinion_modifier = { target = LBA modifier = African_Union_Relations }
	add_opinion_modifier = { target = EGY modifier = African_Union_Relations }
}

2017.1.1 = {  
	if = { limit = { has_dlc = "No Step Back" } 
		set_oob = "SAF_2017_nsb"
		else = {
			set_oob = "SAF_2000_nonnsb"
		}
	}
	 
	remove_ideas = {
		rising_level_of_aids
	} 
	add_ideas = { 
		high_level_of_aids 
	} 

	set_variable = { industrial_conglomerates_opinion = 60 }
	set_variable = { landowners_opinion = 60 }
	set_variable = { small_medium_business_owners = 75 } 

	# Starting tech
	set_technology = {     
		land_drone_equipment_1 = 1  
		AT_upgrade_2 = 1 
		Anti_tank_2 = 1 #ZT3 IPLS
		Heavy_Anti_tank_2 = 1 #ZT3 Iklwa  
		util_vehicle_5 = 1  
		microprocessors = 1
		computing2 = 1 
		computing3 = 1  
		gprs = 1
		wifi = 1
		internet3 = 1	#3G
		edge = 1
		umts = 1
		hsupa = 1
		internet4 = 1	#4G
		lte = 1
	}
	if = {
		limit = { NOT = { has_dlc = "La Resistance" } }
		set_technology = { 
			decryption2 = 1
			decryption3 = 1  
			encryption2 = 1
			encryption3 = 1 
		}
	}    
	if = {
		limit = { has_dlc = "No Step Back" } 
		set_technology = {
			helo_ops_tech = 1
			nsb_attack_helicopter_tech_1 = 1
			nsb_engine_tech_1 = 1
			nsb_atgm_tech_1 = 1
			nsb_multiple_atgm_tech_1 = 1
			nsb_heavy_atgm_tech_1 = 1
			nsb_rocket_pods_tech_1 = 1
			nsb_gun_pods_tech_1 = 1
			nsb_light_nose_gun_tech_1 = 1 
			nsb_defense_tech_1 = 1 
			nsb_attack_helicopter_tech_2 = 1
			nsb_engine_tech_2 = 1
			nsb_atgm_tech_2 = 1
			nsb_multiple_atgm_tech_2 = 1
			nsb_heavy_atgm_tech_2 = 1
			nsb_rocket_pods_tech_2 = 1
			nsb_gun_pods_tech_2 = 1
			nsb_light_nose_gun_tech_2 = 1 
			nsb_artillery_1 = 1
			nsb_Arty_upgrade_2 = 1 
			nsb_AA_upgrade_1 = 1
			nsb_gun_technology_3 = 1
			nsb_SHORAD_missile_2 = 1 
		} 
		else = {
			set_technology = {  
				AA_upgrade_1 = 1   
			}
		} 
	}  
	set_technology = { 
		corvette_hull_1 = 1
		corvette_hull_2 = 1
		corvette_hull_3 = 1
		frigate_hull_1 = 1
		frigate_hull_2 = 1
		frigate_hull_3 = 1
		frigate_hull_4 = 1
		destroyer_hull_1 = 1
		destroyer_hull_2 = 1
		cruiser_hull_1 = 1
		attack_submarine_hull_1 = 1
		attack_submarine_hull_2 = 1
		attack_submarine_hull_3 = 1
		aircraft_carrier_engineering = 1
		aircraft_heli_engineering_1 = 1
		tech_submarine_engineering_1 = 1
		tech_naval_systems_engineering = 1  
	} 
	### Economy
	set_variable = { var = debt value = 226 }
	set_variable = { var = treasury value = 47 }
	set_variable = { var = int_investments value = 37 }
	set_variable = { var = corporate_tax_rate value = 27 }
	set_variable = { var = population_tax_rate value = 21 }

	set_popularities = {
		democratic = 26.8
		communism = 68.6
		fascism = 0.0
		neutrality = 2.4
		nationalist = 2.2
	}
	set_politics = {
		ruling_party = communism
		last_election = "2014.5.7"
		election_frequency = 60
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^0 = 0 } #Western_Autocracy
	set_variable = { party_pop_array^1 = 0.03 } #conservatism
	set_variable = { party_pop_array^2 = 0.228 } #liberalism
	set_variable = { party_pop_array^3 = 0.01 } #socialism
	set_variable = { party_pop_array^4 = 0.064 } #Communist-State
	set_variable = { party_pop_array^5 = 0.622 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0 } #Conservative
	set_variable = { party_pop_array^7 = 0.0 } #Autocracy
	set_variable = { party_pop_array^8 = 0 } #Mod_Vilayat_e_Faqih
	set_variable = { party_pop_array^9 = 0 } #Vilayat_e_Faqih
	set_variable = { party_pop_array^10 = 0 } #Kingdom
	set_variable = { party_pop_array^11 = 0 } #Caliphate
	set_variable = { party_pop_array^12 = 0 } #Neutral_Muslim_Brotherhood
	set_variable = { party_pop_array^13 = 0 } #Neutral_Autocracy
	set_variable = { party_pop_array^14 = 0.024 } #Neutral_conservatism
	set_variable = { party_pop_array^15 = 0 } #oligarchism
	set_variable = { party_pop_array^16 = 0 } #Neutral_Libertarian
	set_variable = { party_pop_array^17 = 0 } #Neutral_green
	set_variable = { party_pop_array^18 = 0.0 } #neutral_Social
	set_variable = { party_pop_array^19 = 0 } #Neutral_Communism
	set_variable = { party_pop_array^20 = 0.022 } #Nat_Populism
	set_variable = { party_pop_array^21 = 0 } #Nat_Fascism
	set_variable = { party_pop_array^22 = 0 } #Nat_Autocracy
	set_variable = { party_pop_array^23 = 0 } #Monarchist

	### Ruling Party
	add_to_array = { ruling_party = 5 }

	startup_politics = yes

	create_country_leader = {
		name = "Jacob Zuma"
		picture = "Jacob_Zuma.dds"
		ideology = anarchist_communism
		traits = {
			spy
			emerging_anarchist_communism
			narcissist
			greedy
			rash
		}
	}
	set_variable = { current_term = 2 } 
} 